[nginx] Merging variable with string in config file

Posted by Swistak on Server Fault See other posts from Server Fault or by Swistak
Published on 2010-06-17T17:13:53Z Indexed on 2010/06/17 17:24 UTC
Read the original article Hit count: 245

Filed under:
|

Hello, I have following setup in my conf file

upload_set_form_field $upload_field_name.name "$upload_file_name";

but I want change chosen param name to:

upload_set_form_field ($upload_field_name+"[name]") "$upload_file_name";

so I can get "attachment[name]" but this dont work. I would be very happy if some one help me with merging variable with string in nginx config file :).

Best regards, Ernest.

© Server Fault or respective owner

Related posts about configuration

Related posts about nginx